﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

class CompareIntArrays
{
    static void Main()
    {        
        Console.Write("Number of elements of arrays:");
        int arrayLength = int.Parse(Console.ReadLine());

        int[] firstArray = new int[arrayLength];
        int[] secondArray = new int[arrayLength];

        for (int i = 0; i < firstArray.Length; i++)
        {
            Console.Write("\nInt element a[{0}]:",i);
            firstArray[i] = int.Parse(Console.ReadLine());
        }

        for (int i = 0; i < secondArray.Length; i++)
        {
            Console.Write("\nInt element b[{0}]:", i);
            secondArray[i] = int.Parse(Console.ReadLine());
        }

        for (int i = 0; i < arrayLength; i++)
        {
            if (firstArray[i] < secondArray[i])
            {
                Console.Write("\na[{0}] < b[{0}] because {1} < {2}", i, firstArray[i], secondArray[i]);
            }

            else if (firstArray[i] > secondArray[i])
            {
                Console.Write("\na[{0}] > b[{0}] because {1} > {2}", i, firstArray[i], secondArray[i]);
            }

            else
            {
                Console.Write("\na[{0}] = b[{0}] because {1} = {2}", i, firstArray[i], secondArray[i]);
            }
        }
        Console.WriteLine();
    }
}

